﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Core
{
    /// <summary>
    /// Форма вопроса
    /// </summary>
    public partial class Question : Form
    {
        public Question()
        {
            InitializeComponent();
        }

        public string value = "";

        public bool result = false;

        private void button2_Click(object sender, EventArgs e)
        {
            result = true;
            value = textBox1.Text;
            this.Hide();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            result = false;
            this.Hide();
        }
    }
}